﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="TPIMTestadd.aspx.cs" Inherits="ANTProductAssemble_ManageAssemble_TPIMTestadd"
    Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script type="text/javascript" src="../../js/JudgeInput.js"></script>

    <div style="width: 100%; text-align: center;">
        <br />
        <br />
        <div style="width: 60%; text-align: center; border: 1px solid black; margin: 0 auto;">
            <table style="width: 100%">
                <tr>
                    <td>
                        产品序列号：
                    </td>
                    <td>
                        &nbsp;&nbsp;
                        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                            ErrorMessage="*" ValidationGroup="VGroup1"></asp:RequiredFieldValidator>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBox1"
                            ErrorMessage="*" ValidationGroup="VGroup2"></asp:RequiredFieldValidator>
                    </td>
                    <td>
                        <asp:Button ID="Button1" runat="server" Text="调出交调测试项" ValidationGroup="VGroup1"
                            OnClick="Button1_Click" />
                    </td>
                </tr>
                <tr>
                    <td>
                        测试设备：
                    </td>
                    <td>
                        <asp:DropDownList ID="DropDownList1" runat="server">
                            <asp:ListItem>SI-1800B_1800B001430445</asp:ListItem>
                            <asp:ListItem>JCIMA-800-II_0847201202</asp:ListItem>
                            <asp:ListItem>JCIMA-800-II_0847201002</asp:ListItem>
                            <asp:ListItem>JCIMA-1800-II_1847201005</asp:ListItem>
                            <asp:ListItem>JCIMA-900-II_0947201105</asp:ListItem>
                            <asp:ListItem>JCIMA-900-II_0947201115</asp:ListItem>
                            <asp:ListItem>JCIMA-900-II_0947201007</asp:ListItem>
                            <asp:ListItem>JCIMA-1800-II_1847201106</asp:ListItem>
                            <asp:ListItem>其他_其他</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        测试状态：
                    </td>
                    <td>
                        <asp:DropDownList ID="DropDownList2" runat="server">
                            <asp:ListItem>半成品</asp:ListItem>
                            <asp:ListItem>半成品复测</asp:ListItem>
                            <asp:ListItem>成品</asp:ListItem>
                            <asp:ListItem>成品返修</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </table>
            <br />
        </div>
        <hr />
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <div style="width: 60%; text-align: center; margin: 0 auto;">
                    <br />
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="White"
                        BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1"
                        GridLines="None" Width="100%">
                        <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                        <Columns>
                            <asp:BoundField DataField="TestItemName" HeaderText="测试项目" />
                            <asp:TemplateField HeaderText="测试值">
                                <ItemTemplate>
                                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                        <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                        <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
                    </asp:GridView>
                    <br />
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
        <br />
        <p>
            <asp:Button ID="Button2" runat="server" Text="提交数据" OnClick="Button2_Click" /></p>
        <br />
        <br />
    </div>
</asp:Content>
